package com.iraeta.dao.main.work;

import com.iraeta.entity.main.Tblog;
import com.iraeta.entity.main.resulttype.TblogResultType;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TblogDao {
    int insert(Tblog record);
    int updateByPrimaryKey(Tblog record);
    Tblog selectByPrimaryKey(Integer id);
    List<TblogResultType> selectByDate(@Param("beginDate") String beginDate, @Param("endDate") String endDate);
    List<Tblog> selectTblogByWorkId(@Param("workId") Integer workId);
}